
/* Generated by Interface Builder */

#import "BlobView.h"
#import <dpsclient/wraps.h>
#import <appkit/Control.h>
#import "blob.h"

@implementation BlobView

- rotate:sender
{
    rot = [sender floatValue];
    [self display];
    return self;
}

- zoom:sender
{
    mag = [sender floatValue];
    [self display];
    return self;
}

- drawSelf:(NXRect*)r :(int)c
{
    NXEraseRect(&bounds);
    PStranslate(bounds.size.width/2.0, bounds.size.height/2.0);
    PSscale(mag+1.0, mag+1.0);
    PSrotate(rot);
    PSsetgray(NX_BLACK);
    drawBlob(100.0, 5.0);
    return self;
}

@end
